VObject::Draw
Section: ET++ method description (n)
Updated: automatically Mon Apr 8 20:17:57 1991
Index
Return to Main Contents
NAME
VObject::Draw - instance method
TEMPLATE
void Draw(Rectangle area)
SPECIFIERS
public
virtual
DESCRIPTION
Draw is called by the method DrawInner. It must be overridden to draw the VObject. The area is either all or a part of the content rectangle. Simple VObjects very often ignore the area and completely redraw themselves. The area can be used to optimize drawing of more complex VObjects. This is done, for example, by TextViews (see method StaticTextView::Draw).
See also cookbook Drawing and technote Drawing.
Method is often overridden.
ARGUMENTS
- Rectangle area
-
a part or all of the content rectangle that needs redrawing
RETURN ARGUMENT
void
CATEGORIES
drawing, overrider interface
FIRST DEFINITION
class VObject
FILES
- implementation:
-
VObject.C
Index
- NAME
-
- TEMPLATE
-
- SPECIFIERS
-
- DESCRIPTION
-
- ARGUMENTS
-
- RETURN ARGUMENT
-
- CATEGORIES
-
- FIRST DEFINITION
-
- FILES
-
This document was created by
man2html,
using the manual pages.
Time: 00:40:22 GMT, March 30, 2022